import 'dart:typed_data';

import 'package:sow_app_core/sow_app_core.dart';

class CaptchaImageModel {
  final Uint8List image;

  CaptchaImageModel.fromJson(Map<String, dynamic> json) : image = json['img'];

  Map<String, dynamic> toJson() => {'img': image};

  Captcha toEntity() => Captcha(image);
}
